package builder_pattern.type1.builder;

public class BlackManBuilder extends HumanBuilder{
    @Override
    public HumanBuilder buildType() {
        human.setType("黑人");
        return this;
    }

    @Override
    public HumanBuilder buildRegion() {
        human.setRegion("非洲");
        return this;
    }
}
